import axios from '@/api/fetch';
import SERVER from '@/api/server';
//根据物流商编码查询备件名称,名称查代码
export const getPartTypeBasePage = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/wayStore/getPartTypeBasePage`,{params});

//获取备件信息列表
export const getPartWayStoreInfoPage = params => axios.get(`${SERVER.CMSCLOUD_WMS}/part/wayStore/getPartWayStoreInfoPage`,{params});

//保存编辑
export const savePartTypeBaseInfo = (params) => axios.post(`${SERVER.CMSCLOUD_WMS}/part/wayStore/saveOrUpdate`,params);
